{% extends 'index.html' %}

{% block page-content %}
<div class="container">
        <h3>学员缴费确认</h3>
        <hr>
        <h2>学员信息</h2>
        {{ customer_form.as_table }}
        <hr>
        <h2>报名信息</h2>
        {{ enroll_form.as_table }}
        <a href="{% url 'enrollment_rejection' enroll_obj.id %}" class="btn btn-danger pull-left">驳回合同</a>
        <a href="{% url 'payment' enroll_obj.id %}" class="btn btn-info pull-right">审核通过</a>
        <div class="row form-horizontal col-lg-6">
            <ul>
                {% for k,v in msgs.items %}
                <li>{{ k }}:{{ v }}</li>
                {% endfor %}
            </ul>
        </div>
    </div>

{% endblock %}

